import {useLocaleStore} from '@/store/locale'

const useLocale = useLocaleStore()
export const handleCommand = (command: string | number | object) => {
    useLocale.setLocale(command)
}